package com.hoshiicloud.marketmanagement.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @program: hoshiicloud
 * @description: rsa加密配置
 * @author: Mr.wu
 * @create: 2019-05-24 10:03
 **/
@Component
@Data
@RefreshScope
public class RsaConfig {
    @Value("${rsa.clientPrivateKey}")
    private String clientPrivateKey;

    @Value("${rsa.clientPublicKey}")
    private String clientPublicKey;

    @Value("${rsa.serverPrivateKey}")
    private String serverPrivateKey;

    @Value("${rsa.serverPublicKey}")
    private String serverPublicKey;

}
